package com.wan.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 生活楼信息表
 * </p>
 *
 * @author admin
 * @since 2020-03-11
 */
@Data
@TableName("t_living_building")
public class LivingBuilding implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 生活楼:2
     */
    @TableField("type")
    private Integer type;

    /**
     * 生活楼名称
     */
    @TableField("living_building")
    private String livingBuilding;

    /**
     * 详细描述
     */
    @TableField("detiled_description")
    private String detiledDescription;

    /**
     * 生活楼图片
     */
    @TableField("img_url")
    private String imgUrl;

    /**
     * 锚点
     */
    @TableField("anchor")
    private String anchor;

    /**
     * 信息创建日期
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 信息更新日期
     */
    @TableField("update_time")
    private String updateTime;

    @TableField("user_name")
    private String username;

    @TableField(exist = false)
    private boolean flag;

    @TableField("collage_id")
    private Integer collageId;

    @TableField("collage_name")
    private String collageName;
}
